package com.wuhainan.beelzebub.service.system;

import com.wuhainan.beelzebub.common.BaseService;
import com.wuhainan.beelzebub.entity.system.Language;
import com.wuhainan.beelzebub.repository.system.LanguageRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <br>Created by 吴海南 on 2017-12-18.
 * <br>星期一 at 下午 3:05.
 */

@Service
public class LanguageService extends BaseService<Language>{
    @Resource
    private LanguageRepository repository;
    public List<Language> findAll() {
        return repository.findAll();
    }
}
